|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cysols.iodef.ElementCreator
com.cysols.iodef.element.IODEFElementCreator
com.cysols.iodef.element.NSIODEFElementCreator
public class NSIODEFElementCreator
Extends the ElementCreator class, Create the element class indicated xml element, this class handles name spece.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
NSIODEFElementCreator()
Default constractor. |
|
NSIODEFElementCreator(String namespaceuri)
Sets the namespace uri. |
|
NSIODEFElementCreator(String prefix,
String namespaceuri)
Sets the namespace uri. |
|
| Method Summary | |
|---|---|
IElement |
create(String name)
Creates an element of the type specified. |
AdditionalData |
createAdditionalData()
Creates a new instance which represents AdditionalData node. |
Address |
createAddress()
Creates a new instance which represents Address node. |
AlternativeID |
createAlternativeID()
Creates a new instance which represents AlternativeID node. |
Application |
createApplication()
Creates a new instance which represents Application node. |
Assessment |
createAssessment()
Creates a new instance which represents Assessment node. |
IAttribute |
createAttribute(String name)
Creates an attribute of the type specified. |
Classification |
createClassification()
Creates a new instance which represents Classification node. |
Contact |
createContact()
Creates a new instance which represents Contact node. |
protected Attr |
createDomAttr(Document doc,
IAttribute ia)
|
EventData |
createEventData()
Creates a new instance which represents EventData node. |
Expectation |
createExpectation()
Creates a new instance which represents Expectation node. |
Flow |
createFlow()
Creates a new instance which represents Flow node. |
History |
createHistory()
Creates a new instance which represents History node. |
HistoryItem |
createHistoryItem()
Creates a new instance which represents HistoryItem node. |
Impact |
createImpact()
Creates a new instance which represents Impact node. |
Incident |
createIncident()
Creates a new instance which represents Incident node. |
IODEFDocument |
createIODEFDocument()
Creates a new instance which represents IODEF-Document document. |
Method |
createMethod()
Creates a new instance which represents Method node. |
Node |
createNode()
Creates a new instance which represents Node node. |
OperatingSystem |
createOperatingSystem()
Creates a new instance which represents OperatingSystem node. |
Process |
createProcess()
Creates a new instance which represents Process node. |
Record |
createRecord()
Creates a new instance which represents Record node. |
RecordData |
createRecordData()
Creates a new instance which represents RecordData node. |
RelatedActivity |
createRelatedActivity()
Creates a new instance which represents RelatedActivity node. |
Service |
createService()
Creates a new instance which represents Service node. |
System |
createSystem()
Creates a new instance which represents System node. |
protected Element |
getDomElement(Document doc,
IElement ie)
|
protected IElement |
replace(Node node)
Replaces a dom node with namespace to an elemnet class. |
| Methods inherited from class com.cysols.iodef.ElementCreator |
|---|
createDomElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NSIODEFElementCreator()
public NSIODEFElementCreator(String namespaceuri)
namespaceuri - name sapce uri
public NSIODEFElementCreator(String prefix,
String namespaceuri)
prefix - The namespace prefix using RID nodes.namespaceuri - uri The namesapce uri using RID nodes.| Method Detail |
|---|
public IAttribute createAttribute(String name)
ElementCreator
createAttribute in class ElementCreatorname - The name of the attribute type to instantiate.
protected Element getDomElement(Document doc,
IElement ie)
getDomElement in class ElementCreator
protected Attr createDomAttr(Document doc,
IAttribute ia)
createDomAttr in class ElementCreatorpublic IElement create(String name)
IElement class,
create in class IODEFElementCreatorname - The name of the element type to instantiate.
protected IElement replace(Node node)
replace in class ElementCreatornode - dom element instance.
public IODEFDocument createIODEFDocument()
createIODEFDocument in class IODEFElementCreatorpublic AdditionalData createAdditionalData()
createAdditionalData in class IODEFElementCreatorpublic Address createAddress()
createAddress in class IODEFElementCreatorpublic AlternativeID createAlternativeID()
createAlternativeID in class IODEFElementCreatorpublic Application createApplication()
createApplication in class IODEFElementCreatorpublic Assessment createAssessment()
createAssessment in class IODEFElementCreatorpublic Classification createClassification()
createClassification in class IODEFElementCreatorpublic Contact createContact()
createContact in class IODEFElementCreatorpublic EventData createEventData()
createEventData in class IODEFElementCreatorpublic Expectation createExpectation()
createExpectation in class IODEFElementCreatorpublic Flow createFlow()
createFlow in class IODEFElementCreatorpublic History createHistory()
createHistory in class IODEFElementCreatorpublic HistoryItem createHistoryItem()
createHistoryItem in class IODEFElementCreatorpublic Incident createIncident()
createIncident in class IODEFElementCreatorpublic Method createMethod()
createMethod in class IODEFElementCreatorpublic Node createNode()
createNode in class IODEFElementCreatorpublic OperatingSystem createOperatingSystem()
createOperatingSystem in class IODEFElementCreatorpublic Process createProcess()
createProcess in class IODEFElementCreatorpublic Record createRecord()
createRecord in class IODEFElementCreatorpublic RecordData createRecordData()
createRecordData in class IODEFElementCreatorpublic RelatedActivity createRelatedActivity()
createRelatedActivity in class IODEFElementCreatorpublic Service createService()
createService in class IODEFElementCreatorpublic System createSystem()
createSystem in class IODEFElementCreatorpublic Impact createImpact()
createImpact in class IODEFElementCreator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||