- Author:
- Rupert Westenthaler
SPECIAL_PROPERTY_PREFIX
public static final char SPECIAL_PROPERTY_PREFIX
- See Also:
- Constant Field Values
SPECAIL_PROPERTY_VALUE_SEPARATOR
public static final char SPECAIL_PROPERTY_VALUE_SEPARATOR
- See Also:
- Constant Field Values
isSpecialProperty
public static boolean isSpecialProperty(String propertyString)
- Tests if the parsed name represents a specail property
- Parameters:
name - the name
- Returns:
true if the parsed propertyString is not null,
not empty and starts with SPECIAL_PROPERTY_PREFIX. Otherwise
false
parseProperty
public static ReconcileProperty parseProperty(String propertyString,
org.apache.stanbol.commons.namespaceprefix.NamespacePrefixService nxPrefixService)
- Parses the Reconcile property from the parsed propertyString
- Parameters:
propertyString - the property string
- Returns:
- the
ReconcileProperty or null if the parsed
String is illegal formatted.
getName
public String getName()
- Getter for the name of the property
- Returns:
- the name
getParameter
public String getParameter()
- Getter for the parameter
- Returns:
- the value or
null if none
hasParameter
public boolean hasParameter()
- Checks if this special property has a value or not.
- Returns:
- if the special property has a value or not.
isSpecial
public boolean isSpecial()
- If this reconcile property is a special property (starting with an '@')
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
toString
public String toString()
- Serialised the
ReconcileProperty as defined by the syntax
- Overrides:
toString in class Object
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.