| java.lang.Object org.apache.xerces.impl.xs.XSAnnotationImpl
XSAnnotationImpl | public class XSAnnotationImpl implements XSAnnotation(Code) | | This is an implementation of the XSAnnotation schema component.
version: $Id: XSAnnotationImpl.java 446734 2006-09-15 20:51:23Z mrglavas $ |
Method Summary | |
public String | getAnnotationString() A text representation of annotation. | public String | getName() The name of type NCName of this declaration as defined in
XML Namespaces. | public String | getNamespace() The [target namespace] of this object, or null if it is
unspecified. | public XSNamespaceItem | getNamespaceItem() A namespace schema information item corresponding to the target
namespace of the component, if it's globally declared; or null
otherwise. | public short | getType() The type of this object, i.e. | public boolean | writeAnnotation(Object target, short targetType) Write contents of the annotation to the specified DOM object. |
getAnnotationString | public String getAnnotationString()(Code) | | A text representation of annotation.
|
getName | public String getName()(Code) | | The name of type NCName of this declaration as defined in
XML Namespaces.
|
getNamespace | public String getNamespace()(Code) | | The [target namespace] of this object, or null if it is
unspecified.
|
getNamespaceItem | public XSNamespaceItem getNamespaceItem()(Code) | | A namespace schema information item corresponding to the target
namespace of the component, if it's globally declared; or null
otherwise.
|
getType | public short getType()(Code) | | The type of this object, i.e.
ELEMENT_DECLARATION .
|
writeAnnotation | public boolean writeAnnotation(Object target, short targetType)(Code) | | Write contents of the annotation to the specified DOM object. If the
specified target object is a DOM in-scope namespace
declarations for annotation element are added as
attributes nodes of the serialized annotation , otherwise
the corresponding events for all in-scope namespace declaration are
sent via specified document handler.
Parameters: target - A target pointer to the annotation target object, i.e. org.w3c.dom.Document , org.xml.sax.ContentHandler . Parameters: targetType - A target type. If the target is recognized type and supported by this implementation return true, otherwise return false. |
|
|