fr.tireme.schemadoc.reorganize
Class SchemaObjInfo
java.lang.Object
fr.tireme.schemadoc.reorganize.SchemaObjInfo
public class SchemaObjInfo
- extends java.lang.Object
Retains information on each object found in schemas.
The information includes :
- the name of the object as defined in the schema
- the full ID of the object
- the schema ID where it is defined
- the namespace of the object, if exist
- the type of the object
- the id of the documentation location, if exists
Note: > if the object is a schema itself, isASchemaObject() will return true
- Author:
- pierre
|
Constructor Summary |
SchemaObjInfo(java.lang.String schemaId_,
java.lang.String namespace_,
boolean managed_,
org.w3c.dom.Element definition_)
|
SchemaObjInfo(java.lang.String id_,
java.lang.String namespace_,
java.lang.String schemaId_,
boolean managed_,
java.lang.String name_,
java.lang.String type_,
org.w3c.dom.Element definition_)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaObjInfo
public SchemaObjInfo(java.lang.String schemaId_,
java.lang.String namespace_,
boolean managed_,
org.w3c.dom.Element definition_)
- Parameters:
schemaId_ - Stringnamespace_ - Stringmanaged_ - boolean
SchemaObjInfo
public SchemaObjInfo(java.lang.String id_,
java.lang.String namespace_,
java.lang.String schemaId_,
boolean managed_,
java.lang.String name_,
java.lang.String type_,
org.w3c.dom.Element definition_)
- Parameters:
id_ - Stringnamespace_ - StringschemaId_ - Stringmanaged_ - booleanname_ - Stringtype_ - String
addUsedBy
public void addUsedBy(SchemaObjInfo userSoi)
- Parameters:
userSoi - SchemaObjInfo
getId
public java.lang.String getId()
- Returns:
- Returns the id.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
getQName
public java.lang.String getQName(java.util.Map nsMap)
- Parameters:
nsMap - Map
- Returns:
- Returns the name.
getPrefixNamespace
public java.lang.String getPrefixNamespace(java.util.Map nsMap)
getNamespace
public java.lang.String getNamespace()
- Returns:
- Returns the namespace.
getRedefinition
public java.lang.String getRedefinition()
- Returns:
- Returns the redefinition.
getSchemaId
public java.lang.String getSchemaId()
- Returns:
- Returns the schemaId.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
getUsedBy
public java.util.Map getUsedBy()
isASchemaObject
public boolean isASchemaObject()
- Returns:
- boolean
isDocumented
public boolean isDocumented()
- Returns:
- Returns the docId.
isManaged
public boolean isManaged()
- Returns:
- Returns the managed.
isRedefinition
public boolean isRedefinition()
- Returns:
- Returns the docId.
setDocumented
public void setDocumented()
setDocumented
public void setDocumented(boolean doc)
setRedefinition
public void setRedefinition(java.lang.String redefinition)
- Parameters:
redefinition - The redefinition to set.
getElementDefinition
public org.w3c.dom.Element getElementDefinition()