com.bluestream.sys.xml.util.link
Class LinkTemplate

java.lang.Object
  extended bycom.bluestream.sys.xml.util.link.LinkTemplate
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.EntityResolver, org.xml.sax.ext.LexicalHandler

public class LinkTemplate
extends Object
implements org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.xml.sax.EntityResolver


Nested Class Summary
 class LinkTemplate.Fixup
           
 
Field Summary
static String c_lidTmplt
           
static String c_nameTmplt
           
static String c_uriTmplt
           
static int cFixupTypeComment
           
static int cFixupTypeDocType
           
static int cFixupTypeElement
           
static int cFixupTypePI
           
 
Constructor Summary
LinkTemplate()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          Characters.
 void comment(char[] charArray, int int1, int int2)
           
 void endCDATA()
           
 void endDocument()
           
 void endDTD()
           
 void endElement(String uri, String local, String raw)
          End element.
 void endEntity(String string)
           
 void endPrefixMapping(String string)
           
 int getAttribCount()
           
 int getFixupOSByName(String targName)
           
 String getFixupTemplt(int os)
           
 int getFixupType()
           
 String getRegExExpr(String tmplt)
           
 String getTargetName()
           
 void ignorableWhitespace(char[] ch, int start, int length)
          Ignorable whitespace.
 void processingInstruction(String target, String data)
          Processing instruction.
 org.xml.sax.InputSource resolveEntity(String pid, String lid)
           
 void setDocumentLocator(org.xml.sax.Locator locator)
           
 void setRegExExpr(String tmplt, String reExpr)
           
 void setTemplate(String tmplt)
           
 void skippedEntity(String string)
           
 void startCDATA()
           
 void startDocument()
           
 void startDTD(String name, String pid, String sid)
           
 void startElement(String uri, String local, String raw, org.xml.sax.Attributes attrs)
          Start element.
 void startEntity(String string)
           
 void startPrefixMapping(String string, String string1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cFixupTypeElement

public static final int cFixupTypeElement
See Also:
Constant Field Values

cFixupTypePI

public static final int cFixupTypePI
See Also:
Constant Field Values

cFixupTypeDocType

public static final int cFixupTypeDocType
See Also:
Constant Field Values

cFixupTypeComment

public static final int cFixupTypeComment
See Also:
Constant Field Values

c_uriTmplt

public static final String c_uriTmplt
See Also:
Constant Field Values

c_lidTmplt

public static final String c_lidTmplt
See Also:
Constant Field Values

c_nameTmplt

public static final String c_nameTmplt
See Also:
Constant Field Values
Constructor Detail

LinkTemplate

public LinkTemplate()
Method Detail

setTemplate

public void setTemplate(String tmplt)

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Specified by:
endDocument in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

processingInstruction

public void processingInstruction(String target,
                                  String data)
                           throws org.xml.sax.SAXException
Processing instruction.

Specified by:
processingInstruction in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

startElement

public void startElement(String uri,
                         String local,
                         String raw,
                         org.xml.sax.Attributes attrs)
                  throws org.xml.sax.SAXException
Start element.

Specified by:
startElement in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Characters.

Specified by:
characters in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
                         throws org.xml.sax.SAXException
Ignorable whitespace.

Specified by:
ignorableWhitespace in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

endElement

public void endElement(String uri,
                       String local,
                       String raw)
                throws org.xml.sax.SAXException
End element.

Specified by:
endElement in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

skippedEntity

public void skippedEntity(String string)
                   throws org.xml.sax.SAXException
Specified by:
skippedEntity in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

startPrefixMapping

public void startPrefixMapping(String string,
                               String string1)
                        throws org.xml.sax.SAXException
Specified by:
startPrefixMapping in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

endPrefixMapping

public void endPrefixMapping(String string)
                      throws org.xml.sax.SAXException
Specified by:
endPrefixMapping in interface org.xml.sax.ContentHandler
Throws:
org.xml.sax.SAXException

setDocumentLocator

public void setDocumentLocator(org.xml.sax.Locator locator)
Specified by:
setDocumentLocator in interface org.xml.sax.ContentHandler

getTargetName

public String getTargetName()

getAttribCount

public int getAttribCount()

getFixupOSByName

public int getFixupOSByName(String targName)

getFixupTemplt

public String getFixupTemplt(int os)

setRegExExpr

public void setRegExExpr(String tmplt,
                         String reExpr)

getRegExExpr

public String getRegExExpr(String tmplt)

resolveEntity

public org.xml.sax.InputSource resolveEntity(String pid,
                                             String lid)
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver

startDTD

public void startDTD(String name,
                     String pid,
                     String sid)
              throws org.xml.sax.SAXException
Specified by:
startDTD in interface org.xml.sax.ext.LexicalHandler
Throws:
org.xml.sax.SAXException

endDTD

public void endDTD()
            throws org.xml.sax.SAXException
Specified by:
endDTD in interface org.xml.sax.ext.LexicalHandler
Throws:
org.xml.sax.SAXException

startEntity

public void startEntity(String string)
                 throws org.xml.sax.SAXException
Specified by:
startEntity in interface org.xml.sax.ext.LexicalHandler
Throws:
org.xml.sax.SAXException

endEntity

public void endEntity(String string)
               throws org.xml.sax.SAXException
Specified by:
endEntity in interface org.xml.sax.ext.LexicalHandler
Throws:
org.xml.sax.SAXException

startCDATA

public void startCDATA()
                throws org.xml.sax.SAXException
Specified by:
startCDATA in interface org.xml.sax.ext.LexicalHandler
Throws:
org.xml.sax.SAXException

endCDATA

public void endCDATA()
              throws org.xml.sax.SAXException
Specified by:
endCDATA in interface org.xml.sax.ext.LexicalHandler
Throws:
org.xml.sax.SAXException

comment

public void comment(char[] charArray,
                    int int1,
                    int int2)
             throws org.xml.sax.SAXException
Specified by:
comment in interface org.xml.sax.ext.LexicalHandler
Throws:
org.xml.sax.SAXException

getFixupType

public int getFixupType()


Copyright 2006 Bluestream Database Software Corp. All Rights Reserved.