XML for Java EA2

com.ibm.xml.framework
Interface XMLValidator


public abstract interface XMLValidator


Method Summary
 int attributeSpecified(int elementType, int attrName, Locator attrNameLocator, int attValue)
           
 void characters(char[] chars, int offset, int length)
           
 void characters(int stringIndex)
           
 int checkContent(int foo, int bar, int[] baz)
           
 boolean endElement(int elementType)
           
 boolean externalReferenceInContent(int entityIndex)
           
 java.lang.String getContentSpecAsString(int elementIndex)
           
 int getElement(int elementTypeIndex)
           
 int getEntityValue(int entityIndex)
           
 int getParameterEntityValue(int peIndex)
           
 java.lang.String getPublicIdOfEntity(int entityIndex)
           
 java.lang.String getPublicIdOfParameterEntity(int peIndex)
           
 java.lang.String getSystemIdOfEntity(int entityIndex)
           
 java.lang.String getSystemIdOfParameterEntity(int peIndex)
           
 void ignorableWhitespace(char[] chars, int offset, int length)
           
 void ignorableWhitespace(int stringIndex)
           
 boolean isExternalEntity(int entityIndex)
           
 boolean isExternalParameterEntity(int peIndex)
           
 boolean isUnparsedEntity(int entityIndex)
           
 int lookupEntity(int entityNameIndex)
           
 int lookupParameterEntity(int peNameIndex)
           
 void rootElementSpecified(int rootElementType)
           
 boolean startElement(int elementType, XMLAttrList attrList, int attrIndex)
           
 int valueOfReferenceInAttValue(int entityIndex)
           
 

Method Detail

rootElementSpecified

public void rootElementSpecified(int rootElementType)
                          throws java.lang.Exception

attributeSpecified

public int attributeSpecified(int elementType,
                              int attrName,
                              Locator attrNameLocator,
                              int attValue)
                       throws java.lang.Exception

startElement

public boolean startElement(int elementType,
                            XMLAttrList attrList,
                            int attrIndex)
                     throws java.lang.Exception

endElement

public boolean endElement(int elementType)
                   throws java.lang.Exception

characters

public void characters(char[] chars,
                       int offset,
                       int length)
                throws java.lang.Exception

characters

public void characters(int stringIndex)
                throws java.lang.Exception

ignorableWhitespace

public void ignorableWhitespace(char[] chars,
                                int offset,
                                int length)
                         throws java.lang.Exception

ignorableWhitespace

public void ignorableWhitespace(int stringIndex)
                         throws java.lang.Exception

externalReferenceInContent

public boolean externalReferenceInContent(int entityIndex)
                                   throws java.lang.Exception

valueOfReferenceInAttValue

public int valueOfReferenceInAttValue(int entityIndex)
                               throws java.lang.Exception

lookupEntity

public int lookupEntity(int entityNameIndex)
                 throws java.lang.Exception

isUnparsedEntity

public boolean isUnparsedEntity(int entityIndex)
                         throws java.lang.Exception

isExternalEntity

public boolean isExternalEntity(int entityIndex)
                         throws java.lang.Exception

getEntityValue

public int getEntityValue(int entityIndex)
                   throws java.lang.Exception

getPublicIdOfEntity

public java.lang.String getPublicIdOfEntity(int entityIndex)
                                     throws java.lang.Exception

getSystemIdOfEntity

public java.lang.String getSystemIdOfEntity(int entityIndex)
                                     throws java.lang.Exception

lookupParameterEntity

public int lookupParameterEntity(int peNameIndex)
                          throws java.lang.Exception

isExternalParameterEntity

public boolean isExternalParameterEntity(int peIndex)
                                  throws java.lang.Exception

getParameterEntityValue

public int getParameterEntityValue(int peIndex)
                            throws java.lang.Exception

getPublicIdOfParameterEntity

public java.lang.String getPublicIdOfParameterEntity(int peIndex)
                                              throws java.lang.Exception

getSystemIdOfParameterEntity

public java.lang.String getSystemIdOfParameterEntity(int peIndex)
                                              throws java.lang.Exception

checkContent

public int checkContent(int foo,
                        int bar,
                        int[] baz)
                 throws java.lang.Exception

getElement

public int getElement(int elementTypeIndex)
               throws java.lang.Exception

getContentSpecAsString

public java.lang.String getContentSpecAsString(int elementIndex)

XML for Java EA2