com.indexdata.torus2.model
Class RealmDefinition
java.lang.Object
com.indexdata.torus2.model.RealmDefinition
- All Implemented Interfaces:
- DOMSerializable
public class RealmDefinition
- extends Object
- implements DOMSerializable
- Author:
- jakub
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealmDefinition
public RealmDefinition(String realmName,
String realmType)
RealmDefinition
public RealmDefinition(String realmName,
String realmType,
RealmDefinition.MatchKey matchKey)
getRealmName
public String getRealmName()
getRealmType
public String getRealmType()
getMatchKey
public RealmDefinition.MatchKey getMatchKey()
getXsiLayerType
public String getXsiLayerType()
fromDOM
public static RealmDefinition fromDOM(Document doc,
String realmName)
throws MalformedInputException
- Throws:
MalformedInputException
toDOM
public Element toDOM(Element parentElement)
- Description copied from interface:
DOMSerializable
- Serializes object to a DOM Tree and returns the root element for that Tree.
If parentElement is null this method creates a new Document on it's own.
- Specified by:
toDOM
in interface DOMSerializable
- Returns:
Copyright © 2008-2013 Index Data. All Rights Reserved.