org.apache.ws.commons.schema
Class XmlSchemaObject

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
Direct Known Subclasses:
XmlSchemaAnnotated, XmlSchemaAnnotation, XmlSchemaAppInfo, XmlSchemaDocumentation

public abstract class XmlSchemaObject
extends Object


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 getMetaInfoMap()
          returns the metainfo map.
 String getSourceURI()
           
 void setLineNumber(int lineNumber)
           
 void setLinePosition(int linePosition)
           
 void setMetaInfoMap(Map metaInfoMap)
          Directly set the meta info map into the schema element
 void setSourceURI(String sourceURI)
           
 String toString(String prefix, int tab)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSchemaObject

protected XmlSchemaObject()
Creates new XmlSchemaObject

Method Detail

getMetaInfoMap

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


setMetaInfoMap

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

Parameters:
metaInfoMap -

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 -

getLineNumber

public int getLineNumber()

setLineNumber

public void setLineNumber(int lineNumber)

getLinePosition

public int getLinePosition()

setLinePosition

public void setLinePosition(int linePosition)

getSourceURI

public String getSourceURI()

setSourceURI

public void setSourceURI(String sourceURI)

equals

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

toString

public String toString(String prefix,
                       int tab)


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