| org.apache.xerces.xs.XSAnnotation
All known Subclasses: org.apache.xerces.impl.xs.XSAnnotationImpl,
XSAnnotation | public interface XSAnnotation extends XSObject(Code) | | This interface represents the Annotation schema component.
|
Field Summary | |
final public static short | SAX_CONTENTHANDLER The object type is org.xml.sax.ContentHandler . | final public static short | W3C_DOM_DOCUMENT The object type is org.w3c.dom.Document . | final public static short | W3C_DOM_ELEMENT The object type is org.w3c.dom.Element . |
SAX_CONTENTHANDLER | final public static short SAX_CONTENTHANDLER(Code) | | The object type is org.xml.sax.ContentHandler .
|
W3C_DOM_DOCUMENT | final public static short W3C_DOM_DOCUMENT(Code) | | The object type is org.w3c.dom.Document .
|
W3C_DOM_ELEMENT | final public static short W3C_DOM_ELEMENT(Code) | | The object type is org.w3c.dom.Element .
|
getAnnotationString | public String getAnnotationString()(Code) | | A text representation of the annotation.
|
writeAnnotation | public boolean writeAnnotation(Object target, short targetType)(Code) | | Write contents of the annotation to the specified object. If the
specified target is a DOM object, in-scope namespace
declarations for annotation element are added as
attribute nodes of the serialized annotation , otherwise
the corresponding events for all in-scope namespace declarations are
sent via the specified document handler.
Parameters: target - A target pointer to the annotation target object, i.e. org.w3c.dom.Document , org.w3c.dom.Element , org.xml.sax.ContentHandler . Parameters: targetType - A target type. True if the target is a recognized type and supported by this implementation, otherwise false. |
|
|