public class ReconcileProperty extends Object
| Modifier and Type | Field and Description |
|---|---|
static char |
SPECAIL_PROPERTY_VALUE_SEPARATOR |
static char |
SPECIAL_PROPERTY_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName()
Getter for the name of the property
|
String |
getParameter()
Getter for the parameter
|
int |
hashCode() |
boolean |
hasParameter()
Checks if this special property has a value or not.
|
boolean |
isSpecial()
If this reconcile property is a special property (starting with an '@')
|
static boolean |
isSpecialProperty(String propertyString)
Tests if the parsed name represents a specail property
|
static ReconcileProperty |
parseProperty(String propertyString,
org.apache.stanbol.commons.namespaceprefix.NamespacePrefixService nxPrefixService)
Parses the Reconcile property from the parsed propertyString
|
String |
toString()
Serialised the
ReconcileProperty as defined by the syntax
|
public static final char SPECIAL_PROPERTY_PREFIX
public static final char SPECAIL_PROPERTY_VALUE_SEPARATOR
public static boolean isSpecialProperty(String propertyString)
name - the nametrue if the parsed propertyString is not null,
not empty and starts with SPECIAL_PROPERTY_PREFIX. Otherwise
falsepublic static ReconcileProperty parseProperty(String propertyString, org.apache.stanbol.commons.namespaceprefix.NamespacePrefixService nxPrefixService)
propertyString - the property stringReconcileProperty or null if the parsed
String is illegal formatted.public String getName()
public String getParameter()
null if nonepublic boolean hasParameter()
public boolean isSpecial()
public String toString()
ReconcileProperty as defined by the syntax
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.