APIdia Launch Partner
Top Description Inners Fields Constructors Methods
jdk.xml.internal

public final Class XMLSecurityPropertyManager

extends FeaturePropertyBase
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
javax.xml.XMLConstants

This class manages security related properties

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
XMLSecurityPropertyManager.Property

Properties managed by the security property manager

Field Summary

Inherited from jdk.xml.internal.FeaturePropertyBase:
statesvalues

Constructor Summary

AccessConstructor and Description
public
XMLSecurityPropertyManager()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public XMLSecurityPropertyManager

Returns:

a copy of the XMLSecurityManager
clone
()

Overrides java.lang.Object.clone.

Returns a copy of the XMLSecurityManager.

public XMLSecurityPropertyManager

Returns:

a copy of the XMLSecurityPropertyManager
cloneAndUpdate
()

Returns a copy of the XMLSecurityPropertyManager that is updated with the current System Properties.

public String

Returns:

the property name if found, null otherwise
find
(String
the property name specified
propertyName
)

Finds the property with the given name.

public int

Returns:

the index of the property if found; return -1 if not
getIndex
(String
property name
propertyName
)

Implements abstract jdk.xml.internal.FeaturePropertyBase.getIndex.

Get the index by property name

public String

Returns:

the value of the property
getValue
(XMLSecurityPropertyManager.Property
the property
property
)

Return the value of the specified property

public void
readSystemProperties()

Read from system properties, or those in jaxp.properties

public void
setValue(XMLSecurityPropertyManager.Property
the property
property
,
FeaturePropertyBase.State
the state of the property
state
,
String
the value of the property
value
)

Set the value for a specific property.

Inherited from jdk.xml.internal.FeaturePropertyBase:
getIndexgetPropertyConfiggetSystemPropertygetValuegetValuegetValueAsStringgetValueByIndexsetValuesetValuesetValuesetValue

Constructor Detail

XMLSecurityPropertyManagerback to summary
public XMLSecurityPropertyManager()

Default constructor. Establishes default values

Method Detail

cloneback to summary
public XMLSecurityPropertyManager clone()

Overrides java.lang.Object.clone.

Returns a copy of the XMLSecurityManager.

Returns:XMLSecurityPropertyManager

a copy of the XMLSecurityManager

cloneAndUpdateback to summary
public XMLSecurityPropertyManager cloneAndUpdate()

Returns a copy of the XMLSecurityPropertyManager that is updated with the current System Properties.

Returns:XMLSecurityPropertyManager

a copy of the XMLSecurityPropertyManager

findback to summary
public String find(String propertyName)

Finds the property with the given name.

Parameters
propertyName:String

the property name specified

Returns:String

the property name if found, null otherwise

getIndexback to summary
public int getIndex(String propertyName)

Implements abstract jdk.xml.internal.FeaturePropertyBase.getIndex.

Get the index by property name

Parameters
propertyName:String

property name

Returns:int

the index of the property if found; return -1 if not

getValueback to summary
public String getValue(XMLSecurityPropertyManager.Property property)

Return the value of the specified property

Parameters
property:XMLSecurityPropertyManager.Property

the property

Returns:String

the value of the property

readSystemPropertiesback to summary
public void readSystemProperties()

Read from system properties, or those in jaxp.properties

setValueback to summary
public void setValue(XMLSecurityPropertyManager.Property property, FeaturePropertyBase.State state, String value)

Set the value for a specific property.

Parameters
property:XMLSecurityPropertyManager.Property

the property

state:FeaturePropertyBase.State

the state of the property

value:String

the value of the property

jdk.xml.internal back to summary

public final Enum XMLSecurityPropertyManager.Property

extends Enum<XMLSecurityPropertyManager.Property>
Class Inheritance

Properties managed by the security property manager

Field Summary

Modifier and TypeField and Description
public static final XMLSecurityPropertyManager.Property
public static final XMLSecurityPropertyManager.Property
public static final XMLSecurityPropertyManager.Property
pack-priv final String
pack-priv final String
pack-priv final String

Constructor Summary

AccessConstructor and Description
private
Property(String apiProperty, String systemProperty, String value)

Method Summary

Modifier and TypeMethod and Description
pack-priv String
public boolean
equalsName(String propertyName)

public String
public String
public static XMLSecurityPropertyManager.Property
public static XMLSecurityPropertyManager.Property[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ACCESS_EXTERNAL_DTDback to summary
public static final XMLSecurityPropertyManager.Property ACCESS_EXTERNAL_DTD
ACCESS_EXTERNAL_SCHEMAback to summary
public static final XMLSecurityPropertyManager.Property ACCESS_EXTERNAL_SCHEMA
ACCESS_EXTERNAL_STYLESHEETback to summary
public static final XMLSecurityPropertyManager.Property ACCESS_EXTERNAL_STYLESHEET
apiPropertyback to summary
pack-priv final String apiProperty
defaultValueback to summary
pack-priv final String defaultValue
systemPropertyback to summary
pack-priv final String systemProperty

Constructor Detail

Propertyback to summary
private Property(String apiProperty, String systemProperty, String value)

Method Detail

defaultValueback to summary
pack-priv String defaultValue()
equalsNameback to summary
public boolean equalsName(String propertyName)
propertyNameback to summary
public String propertyName()
systemPropertyback to summary
public String systemProperty()
valueOfback to summary
public static XMLSecurityPropertyManager.Property valueOf(String name)
valuesback to summary
public static XMLSecurityPropertyManager.Property[] values()