org.apache.ws.commons.schema
Class XmlSchemaObject

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
All Implemented Interfaces:
XmlSchemaObjectBase
Direct Known Subclasses:
XmlSchemaAnnotated, XmlSchemaAnnotation, XmlSchemaAnnotationItem

public abstract class XmlSchemaObject
extends Object
implements XmlSchemaObjectBase


Constructor Summary
protected XmlSchemaObject()
          Creates new XmlSchemaObject
 
Method Summary
 void addMetaInfo(Object key, Object value)
          Add a value to the meta info map will be initialized if not used previously
 boolean equals(Object what)
           
 int getLineNumber()
           
 int getLinePosition()
           
 Map<Object,Object> getMetaInfoMap()
          returns the metainfo map.
 String getSourceURI()
           
 int hashCode()
           
 void setLineNumber(int lineNumber)
           
 void setLinePosition(int linePosition)
           
 void setMetaInfoMap(Map<Object,Object> metaInfoMap)
          Directly set the meta info map into the schema element
 void setSourceURI(String sourceURI)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSchemaObject

protected XmlSchemaObject()
Creates new XmlSchemaObject

Method Detail

addMetaInfo

public void addMetaInfo(Object key,
                        Object value)
Add a value to the meta info map will be initialized if not used previously

Parameters:
key -
value -

equals

public boolean equals(Object what)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getLineNumber

public int getLineNumber()

getLinePosition

public int getLinePosition()

getMetaInfoMap

public Map<Object,Object> getMetaInfoMap()
returns the metainfo map. may be null if not utilized


getSourceURI

public String getSourceURI()

setLineNumber

public void setLineNumber(int lineNumber)

setLinePosition

public void setLinePosition(int linePosition)

setMetaInfoMap

public void setMetaInfoMap(Map<Object,Object> metaInfoMap)
Directly set the meta info map into the schema element

Parameters:
metaInfoMap -

setSourceURI

public void setSourceURI(String sourceURI)


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.