Package org.apache.ws.commons.schema
Class XmlSchemaObject
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
- All Implemented Interfaces:
XmlSchemaObjectBase
- Direct Known Subclasses:
XmlSchemaAnnotated,XmlSchemaAnnotation,XmlSchemaAnnotationItem
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) inta map for holding meta information Initially set to null to gain some improvement in memory.(package private) String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetaInfo(Object key, Object value) Add a value to the meta info map will be initialized if not used previouslybooleanintintreturns the metainfo map.inthashCode()voidsetLineNumber(int lineNumber) voidsetLinePosition(int linePosition) voidsetMetaInfoMap(Map<Object, Object> metaInfoMap) Directly set the meta info map into the schema elementvoidsetSourceURI(String sourceURI)
-
Field Details
-
lineNumber
int lineNumber -
linePosition
int linePosition -
sourceURI
String sourceURI -
metaInfoMap
a map for holding meta information Initially set to null to gain some improvement in memory. will be initialized only if a user attempts
-
-
Constructor Details
-
XmlSchemaObject
protected XmlSchemaObject()Creates new XmlSchemaObject
-
-
Method Details
-
addMetaInfo
Add a value to the meta info map will be initialized if not used previously- Parameters:
key-value-
-
equals
-
hashCode
public int hashCode() -
getLineNumber
public int getLineNumber() -
getLinePosition
public int getLinePosition() -
getMetaInfoMap
returns the metainfo map. may be null if not utilized -
getSourceURI
-
setLineNumber
public void setLineNumber(int lineNumber) -
setLinePosition
public void setLinePosition(int linePosition) -
setMetaInfoMap
Directly set the meta info map into the schema element- Parameters:
metaInfoMap-
-
setSourceURI
-