Java Doc for StructureNode.java in  » 6.0-JDK-Modules » j2me » com » sun » perseus » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » com.sun.perseus.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.perseus.model.ModelNode
      com.sun.perseus.model.CompositeNode
         com.sun.perseus.model.ElementNode
            com.sun.perseus.model.CompositeGraphicsNode
               com.sun.perseus.model.StructureNode

All known Subclasses:   com.sun.perseus.model.Defs,  com.sun.perseus.model.Group,  com.sun.perseus.model.SVG,
StructureNode
abstract public class StructureNode extends CompositeGraphicsNode implements TextNode,TextRenderingProperties(Code)
StructureNode is the base class for all nodes that represent structure content, such as images, defs or svg elements.
version:
   $Id: StructureNode.java,v 1.8 2006/06/29 10:47:35 ln156897 Exp $


Field Summary
final public static  intALIGN_NONE
     When align is set to ALIGN_NONE, the SVG content is rescaled so that the widht and height of the viewBox map to the viewport width and height and the origin of the viewBox maps to the viewport origin.
final public static  intALIGN_XMIDYMID
     When align is set to ALIGN_XMIDYMID, the SVG content is rescaled so that the aspect ratio of the viewBox is preserved.
final public static  intFONT_WEIGHT_BOLDER_MARKER
     Marker used to mark that the fontWeight property was set to bolder.
final public static  intFONT_WEIGHT_LIGHTER_MARKER
     Marker used to mark that the fontWeight property was set to lighter.
protected  String[]fontFamily
    
protected  floatfontSize
    

Constructor Summary
public  StructureNode(DocumentNode ownerDocument)
     Constructor.

Method Summary
 BoxaddBBox(Box bbox, Transform t)
    
Parameters:
  bbox - the bounding box to which this node's bounding box should beappended.
 ElementNodeProxybuildProxy()
    
 intcomputeFontWeight(int refPackedFontWeight, int relFontWeight)
     Handles the 'bolder' and 'lighter' values as follows: - bolder computes to font-weight + 300.
 TraitAnimcreateTraitAnimImpl(String traitName)
    
 StringfontStyleToStringTrait(int fontStyle)
     Converts the input font-style value to a string trait value.
Parameters:
  fontStyle - the font-style value to convert.
 StringfontWeightToStringTrait(int fontWeight)
     Converts the input font-style value to a string trait value.
Parameters:
  fontStyle - the font-style value to convert.
public  SVGRectgetBBox()
     the tight bounding box in current user coordinatespace.
public static  voidgetFittingTransform(float ix, float iy, float iw, float ih, float ox, float oy, float ow, float oh, int align, Transform result)
     Utility method: computes the transform needed to fit the input box into the given output box for the given input alignment property.
Parameters:
  ix - the x origin of the input box
Parameters:
  iy - the y origin of the input box
Parameters:
  iw - the width of the input box
Parameters:
  ih - the height of the input box
Parameters:
  ox - the x origin of the output box
Parameters:
  oy - the y origin of the output box
Parameters:
  ow - the width of the output box
Parameters:
  oh - the height of the output box
Parameters:
  align - the desired alignment.
protected  floatgetFloatPropertyState(int propertyIndex)
     Returns the value for the given float property.
 floatgetFloatTraitImpl(String name)
    
public  String[]getFontFamily()
    
public  floatgetFontSize()
    
public  intgetFontStyle()
    
public  intgetFontWeight()
    
public  intgetNumberOfProperties()
    
protected  intgetPackedPropertyState(int propertyIndex)
     Returns the value for the given packed property.
protected  ObjectgetPropertyState(int propertyIndex)
     Returns the value for the given property.
public  SVGRectgetScreenBBox()
    
 StringgetSpecifiedTraitImpl(String name)
     Supported traits: font-family, font-size, font-style, font-weight, text-anchor.
Parameters:
  name - the requested trait name (e.g., "font-family").
public  intgetTextAnchor()
    
public  StringgetTraitImpl(String name)
     Supported traits: font-family, font-size, font-style, font-weight, text-anchor.
Parameters:
  name - the requested trait name (e.g., "font-family").
protected  booleanisFloatPropertyState(int propertyIndex, float propertyValue)
     Checks the state of the float property value.
protected  booleanisPackedPropertyState(int propertyIndex, int propertyValue)
     Checks the state of the property value.
protected  booleanisPropertyState(int propertyIndex, Object propertyValue)
     Checks the state of the property value.
public  ModelNodenodeHitAt(float[] pt)
     Returns the ModelNode, if any, hit by the point at coordinate x/y.
public  voidpaint(RenderGraphics rg)
     Paints this node into the input RenderGraphics.
 ModelNodeproxyNodeHitAt(float[] pt, ElementNodeProxy proxy)
     Returns the ModelNode, if any, hit by the point at coordinate x/y in the proxy tree starting at proxy.
Parameters:
  pt - the x/y coordinate.
 voidrecomputeInheritedProperties()
     Recomputes all inherited properties.
protected  voidrecomputePackedPropertyState(int propertyIndex, int parentPropertyValue)
     Recomputes the given packed property's state given the new parent property.
 voidsetComputedFontFamily(String[] newFontFamily)
    
 voidsetComputedFontSize(float newFontSize)
    
 voidsetComputedFontStyle(int newFontStyle)
    
 voidsetComputedFontWeight(int newFontWeight)
    
 voidsetComputedTextAnchor(int newTextAnchor)
     Sets the value of the computed text anchor property.
 voidsetFloatArrayTrait(String name, float[][] value)
     Set the trait value as float.
protected  voidsetFloatPropertyState(int propertyIndex, float propertyValue)
     Sets the computed value for the given float property.
public  voidsetFloatTraitImpl(String name, float value)
     Set the trait value as float.
public  voidsetFontFamily(String[] newFontFamily)
    
public  voidsetFontSize(float newFontSize)
    
Parameters:
  newFontSize - the fontSize is used when the property is not inherited.
public  voidsetFontStyle(int newFontStyle)
    
public  voidsetFontWeight(int newFontWeight)
    
protected  voidsetPackedPropertyState(int propertyIndex, int propertyValue)
     Sets the computed value for the given packed property.
protected  voidsetPropertyState(int propertyIndex, Object propertyValue)
     Sets the computed value for the given property.
public  voidsetTextAnchor(int newTextAnchor)
    
public  voidsetTraitImpl(String name, String value)
     Supported traits: font-family, font-size, font-style, font-weight, text-anchor.
 booleansupportsTrait(String traitName)
     Supported traits: font-family, font-size, font-style, font-weight, text-anchor.
Parameters:
  traitName - the name of the trait which the element may support.
 StringtextAnchorToStringTrait(int textAnchor)
     Converts the input text-anchor value to a string trait value.
Parameters:
  textAnchor - the text-anchor value to convert.
 StringtoStringTrait(String name, float[][] value)
    
public  float[][]validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName)
     Validates the input trait value.
 StringvalidateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName)
     Validates the input trait value.

Field Detail
ALIGN_NONE
final public static int ALIGN_NONE(Code)
When align is set to ALIGN_NONE, the SVG content is rescaled so that the widht and height of the viewBox map to the viewport width and height and the origin of the viewBox maps to the viewport origin.



ALIGN_XMIDYMID
final public static int ALIGN_XMIDYMID(Code)
When align is set to ALIGN_XMIDYMID, the SVG content is rescaled so that the aspect ratio of the viewBox is preserved. With that constraint, either the width or height of the viewBox is mapped to the width or height of the viewPort. The rescaled content is centered into the viewport.



FONT_WEIGHT_BOLDER_MARKER
final public static int FONT_WEIGHT_BOLDER_MARKER(Code)
Marker used to mark that the fontWeight property was set to bolder.



FONT_WEIGHT_LIGHTER_MARKER
final public static int FONT_WEIGHT_LIGHTER_MARKER(Code)
Marker used to mark that the fontWeight property was set to lighter.



fontFamily
protected String[] fontFamily(Code)
Controls this node's fontFamily



fontSize
protected float fontSize(Code)
Controls this node's fontSize




Constructor Detail
StructureNode
public StructureNode(DocumentNode ownerDocument)(Code)
Constructor.
Parameters:
  ownerDocument - this element's owner DocumentNode




Method Detail
addBBox
Box addBBox(Box bbox, Transform t)(Code)

Parameters:
  bbox - the bounding box to which this node's bounding box should beappended. That bounding box is in the target coordinate space. It may be null, in which case this node should create a new one.
Parameters:
  t - the transform to apply from the node's coordinate space to thetarget coordinate space. May be null for the identity transform. the node's bounding box in the target coordinate space.



buildProxy
ElementNodeProxy buildProxy()(Code)
an adequate ElementNodeProxy for this node.



computeFontWeight
int computeFontWeight(int refPackedFontWeight, int relFontWeight)(Code)
Handles the 'bolder' and 'lighter' values as follows: - bolder computes to font-weight + 300. If the result is more than 900, then the computed value is 900. - lighter computes to font-weight - 300. If the result is less than 100, then the comuted value is 100. NOTE* This is not exactly implementing the CSS2 specification for bolder but that part of the CSS 2 specification is known to be underspecified. Handling of 'bolder' is being respecified for CSS 2.1. Furthermore, the CSS 2 specification does not address the needs for SVG Fonts well. For example, if you have the following fonts in the font data base: font A: Arial, 100 to 500 font B: Arial, 600 to 900 element 1: font-family="Arial" font-weight="normal" | + - element 2: font-family="Arial" font-weight="bolder" font-weight for element 1 is 400. The font weight for element B should be that of the font for which there is a next bolder weight. In our example, it is font A which has font weight 500. However, it is not the desired behavior in most cases. Secondly, the SVG Font format allows non consecutive font-weight values in the element. For example: font C: Arial, 100,900 font D: Arial, 200,400 While this does not make a lot of sense, it is possible to specify such fonts and it is unclear what the behavior of bolder should be in that case. It seems that taking the matching font which has the most distance from the current font-weight could work, but that would be limiting 'bolder' to a one step change.... The approach taken in the Perseus implementation is such that bolder will work for common cases with common Font specifications.
Parameters:
  refPackedFontWeight - the reference font weight.
Parameters:
  relFontWeight - the possibly relative font weight. the computed font weight.



createTraitAnimImpl
TraitAnim createTraitAnimImpl(String traitName)(Code)

Parameters:
  traitName - the trait name.



fontStyleToStringTrait
String fontStyleToStringTrait(int fontStyle)(Code)
Converts the input font-style value to a string trait value.
Parameters:
  fontStyle - the font-style value to convert. In packed form, withmask applied. the corresponding string trait value.



fontWeightToStringTrait
String fontWeightToStringTrait(int fontWeight)(Code)
Converts the input font-style value to a string trait value.
Parameters:
  fontStyle - the font-style value to convert. the corresponding string trait value.



getBBox
public SVGRect getBBox()(Code)
the tight bounding box in current user coordinatespace.



getFittingTransform
public static void getFittingTransform(float ix, float iy, float iw, float ih, float ox, float oy, float ow, float oh, int align, Transform result)(Code)
Utility method: computes the transform needed to fit the input box into the given output box for the given input alignment property.
Parameters:
  ix - the x origin of the input box
Parameters:
  iy - the y origin of the input box
Parameters:
  iw - the width of the input box
Parameters:
  ih - the height of the input box
Parameters:
  ox - the x origin of the output box
Parameters:
  oy - the y origin of the output box
Parameters:
  ow - the width of the output box
Parameters:
  oh - the height of the output box
Parameters:
  align - the desired alignment. One of ALIGN_NONE, or ALIGN_XMIDYMID
Parameters:
  result - the transform to which the fitting transform is concatenated



getFloatPropertyState
protected float getFloatPropertyState(int propertyIndex)(Code)
Returns the value for the given float property. the value for the given property.



getFloatTraitImpl
float getFloatTraitImpl(String name) throws DOMException(Code)
Supported float traits: font-size
Parameters:
  name - the requested trait name (e.g, "font-size") the trait's value, as a float.
throws:
  DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null.
throws:
  DOMException - with error code TYPE_MISMATCH_ERR if requestedtrait's computed value cannot be converted to a float
throws:
  SecurityException - if the application does not have the necessaryprivilege rights to access this (SVG) content.



getFontFamily
public String[] getFontFamily()(Code)
this node's computed font-family



getFontSize
public float getFontSize()(Code)
this node's computed fontSize



getFontStyle
public int getFontStyle()(Code)
this node's computed fontStyle



getFontWeight
public int getFontWeight()(Code)
this node's computed fontWeight



getNumberOfProperties
public int getNumberOfProperties()(Code)
the number of properties supported by this node



getPackedPropertyState
protected int getPackedPropertyState(int propertyIndex)(Code)
Returns the value for the given packed property. the value for the given packed property.



getPropertyState
protected Object getPropertyState(int propertyIndex)(Code)
Returns the value for the given property. the value for the given property.



getScreenBBox
public SVGRect getScreenBBox()(Code)
the tight bounding box in screen coordinate space.



getSpecifiedTraitImpl
String getSpecifiedTraitImpl(String name) throws DOMException(Code)
Supported traits: font-family, font-size, font-style, font-weight, text-anchor.
Parameters:
  name - the requested trait name (e.g., "font-family"). the trait's value, as a string (e.g., "serif").
throws:
  DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null.
throws:
  DOMException - with error code TYPE_MISMATCH_ERR if requestedtrait's computed value cannot be converted to a String (SVG Tiny only).



getTextAnchor
public int getTextAnchor()(Code)
this node's computed textAnchor



getTraitImpl
public String getTraitImpl(String name) throws DOMException(Code)
Supported traits: font-family, font-size, font-style, font-weight, text-anchor.
Parameters:
  name - the requested trait name (e.g., "font-family"). the trait's value, as a string (e.g., "serif").
throws:
  DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null.
throws:
  DOMException - with error code TYPE_MISMATCH_ERR if requestedtrait's computed value cannot be converted to a String (SVG Tiny only).



isFloatPropertyState
protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code)
Checks the state of the float property value.
Parameters:
  propertyIndex - the property index
Parameters:
  propertyValue - the computed value for the property.



isPackedPropertyState
protected boolean isPackedPropertyState(int propertyIndex, int propertyValue)(Code)
Checks the state of the property value.
Parameters:
  propertyIndex - the property index
Parameters:
  propertyValue - the computed value for the property.



isPropertyState
protected boolean isPropertyState(int propertyIndex, Object propertyValue)(Code)
Checks the state of the property value.
Parameters:
  propertyIndex - the property index
Parameters:
  propertyValue - the computed value for the property.



nodeHitAt
public ModelNode nodeHitAt(float[] pt)(Code)
Returns the ModelNode, if any, hit by the point at coordinate x/y.
Parameters:
  pt - the x/y coordinate. Should never be null and beof size two. If not, the behavior is unspecified.The coordinates are in viewport space. the ModelNode hit at the given point or nullif none was hit.



paint
public void paint(RenderGraphics rg)(Code)
Paints this node into the input RenderGraphics. By default, a StructureNode only renders its regular (DOM) children and it does not perform any rendering itself.
Parameters:
  rg - the RenderGraphics where the node should paint itself



proxyNodeHitAt
ModelNode proxyNodeHitAt(float[] pt, ElementNodeProxy proxy)(Code)
Returns the ModelNode, if any, hit by the point at coordinate x/y in the proxy tree starting at proxy.
Parameters:
  pt - the x/y coordinate. Should never be null and beof size two. If not, the behavior is unspecified.The coordinates are in viewport space.
Parameters:
  proxy - the root of the proxy tree to test. the ModelNode hit at the given point or nullif none was hit.



recomputeInheritedProperties
void recomputeInheritedProperties()(Code)
Recomputes all inherited properties.



recomputePackedPropertyState
protected void recomputePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)
Recomputes the given packed property's state given the new parent property.
Parameters:
  propertyIndex - index for the property whose value is changing.
Parameters:
  parentPropertyValue - the value that children of this node should now inherit.



setComputedFontFamily
void setComputedFontFamily(String[] newFontFamily)(Code)

Parameters:
  newFontFamily - the new computed font-family property value.



setComputedFontSize
void setComputedFontSize(float newFontSize)(Code)

Parameters:
  newFontSize - the new computed font-size property value.



setComputedFontStyle
void setComputedFontStyle(int newFontStyle)(Code)

Parameters:
  newFontStyle - the new computed font-style property.



setComputedFontWeight
void setComputedFontWeight(int newFontWeight)(Code)

Parameters:
  newFontWeight - new computed value for the font-weight property.



setComputedTextAnchor
void setComputedTextAnchor(int newTextAnchor)(Code)
Sets the value of the computed text anchor property.
Parameters:
  newTextAnchor - the new value for the computed text anchor property.



setFloatArrayTrait
void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code)
Set the trait value as float.
Parameters:
  name - the trait's name.
Parameters:
  value - the trait's value.
throws:
  DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element.
throws:
  DOMException - with error code TYPE_MISMATCH_ERR if the requestedtrait's value cannot be specified as a float
throws:
  DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is an invalid value for the given trait.



setFloatPropertyState
protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code)
Sets the computed value for the given float property.
Parameters:
  propertyIndex - the property index
Parameters:
  propertyValue - the computed value for the property.



setFloatTraitImpl
public void setFloatTraitImpl(String name, float value) throws DOMException(Code)
Set the trait value as float. Supported float traits: font-size.
Parameters:
  name - the trait name (e.g, "font-size")
Parameters:
  value - the trait value (e.g, 10f)
throws:
  DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element.
throws:
  DOMException - with error code TYPE_MISMATCH_ERR if the requestedtrait's value cannot be specified as a float
throws:
  DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is an invalid value for the given trait.
throws:
  SecurityException - if the application does not have the necessaryprivilege rights to access this (SVG) content.



setFontFamily
public void setFontFamily(String[] newFontFamily)(Code)

Parameters:
  newFontFamily - The fontFamily is used when the property is not inherited



setFontSize
public void setFontSize(float newFontSize)(Code)

Parameters:
  newFontSize - the fontSize is used when the property is not inherited. This should not be less than zero.



setFontStyle
public void setFontStyle(int newFontStyle)(Code)

Parameters:
  newFontStyle - The fontStyle is used when the property is not inherited



setFontWeight
public void setFontWeight(int newFontWeight)(Code)

Parameters:
  newFontWeight - The fontWeight is used when the property is not inherited



setPackedPropertyState
protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code)
Sets the computed value for the given packed property.
Parameters:
  propertyIndex - the property index
Parameters:
  propertyValue - the computed value for the property.



setPropertyState
protected void setPropertyState(int propertyIndex, Object propertyValue)(Code)
Sets the computed value for the given property.
Parameters:
  propertyIndex - the property index
Parameters:
  propertyValue - the computed value for the property.



setTextAnchor
public void setTextAnchor(int newTextAnchor)(Code)

Parameters:
  newTextAnchor - The textAnchor is used when the property is not inherited



setTraitImpl
public void setTraitImpl(String name, String value) throws DOMException(Code)
Supported traits: font-family, font-size, font-style, font-weight, text-anchor. Supported traits: stroke-width, stroke-miterlimit, stroke-dashoffset, fill-rule, stroke-linejoin, stroke-linecap, display, visibility, color, fill, stroke, fill-opacity, stroke-opacity, stroke-dasharray
Parameters:
  name - the trait name (e.g., "stroke-width")
Parameters:
  value - the trait's string value (e.g, "3")
throws:
  DOMException - with error code NOT_SUPPORTED_ERROR if the requestedtrait is not supported on this element or null.
throws:
  DOMException - with error code TYPE_MISMATCH_ERR if the requestedtrait's value cannot be specified as a String
throws:
  DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is an invalid value for the given trait or null.
throws:
  DOMException - with error code NO_MODIFICATION_ALLOWED_ERR: ifattempt is made to change readonly trait.



supportsTrait
boolean supportsTrait(String traitName)(Code)
Supported traits: font-family, font-size, font-style, font-weight, text-anchor.
Parameters:
  traitName - the name of the trait which the element may support. true if this element supports the given trait in one of thetrait accessor methods.



textAnchorToStringTrait
String textAnchorToStringTrait(int textAnchor)(Code)
Converts the input text-anchor value to a string trait value.
Parameters:
  textAnchor - the text-anchor value to convert. the corresponding string trait value.



toStringTrait
String toStringTrait(String name, float[][] value)(Code)

Parameters:
  name - the name of the trait to convert.
Parameters:
  value - the float trait value to convert.



validateFloatArrayTrait
public float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)
Validates the input trait value.
Parameters:
  traitName - the name of the trait to be validated.
Parameters:
  value - the value to be validated
Parameters:
  reqNamespaceURI - the namespace of the element requesting validation.
Parameters:
  reqLocalName - the local name of the element requesting validation.
Parameters:
  reqTraitNamespace - the namespace of the trait which has the valuesvalue on the requesting element.
Parameters:
  reqTraitName - the name of the trait which has the values value on the requesting element.
throws:
  DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is incompatible with the given trait.



validateTraitNS
String validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)
Validates the input trait value.
Parameters:
  namespaceURI - the trait's namespace URI.
Parameters:
  traitName - the name of the trait to be validated.
Parameters:
  value - the value to be validated
Parameters:
  reqNamespaceURI - the namespace of the element requesting validation.
Parameters:
  reqLocalName - the local name of the element requesting validation.
Parameters:
  reqTraitNamespace - the namespace of the trait which has the valuesvalue on the requesting element.
Parameters:
  reqTraitName - the name of the trait which has the values value on the requesting element.
throws:
  DOMException - with error code INVALID_ACCESS_ERR if the inputvalue is incompatible with the given trait.



Fields inherited from com.sun.perseus.model.CompositeGraphicsNode
final protected static int CAP_BUTT_IMPL(Code)(Java Doc)
final protected static int CAP_ROUND_IMPL(Code)(Java Doc)
final protected static int CAP_SQUARE_IMPL(Code)(Java Doc)
final protected static int DISPLAY_MASK(Code)(Java Doc)
final protected static int FILL_OPACITY_MASK(Code)(Java Doc)
final protected static int FILL_RULE_MASK(Code)(Java Doc)
final protected static int FONT_STYLE_ITALIC_IMPL(Code)(Java Doc)
final protected static int FONT_STYLE_MASK(Code)(Java Doc)
final protected static int FONT_STYLE_NORMAL_IMPL(Code)(Java Doc)
final protected static int FONT_STYLE_OBLIQUE_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_100_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_200_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_300_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_400_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_500_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_600_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_700_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_800_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_900_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_BOLDER_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_LIGHTER_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_MASK(Code)(Java Doc)
final protected static int INITIAL_DISPLAY_IMPL(Code)(Java Doc)
final protected static int INITIAL_FILL_OPACITY_IMPL(Code)(Java Doc)
final protected static int INITIAL_FILL_RULE_IMPL(Code)(Java Doc)
final protected static int INITIAL_FONT_STYLE_IMPL(Code)(Java Doc)
final protected static int INITIAL_FONT_WEIGHT_IMPL(Code)(Java Doc)
final protected static int INITIAL_OPACITY_IMPL(Code)(Java Doc)
final protected static int INITIAL_PACK(Code)(Java Doc)
final protected static int INITIAL_PACK2(Code)(Java Doc)
final protected static int INITIAL_STROKE_LINE_CAP_IMPL(Code)(Java Doc)
final protected static int INITIAL_STROKE_LINE_JOIN_IMPL(Code)(Java Doc)
final protected static int INITIAL_STROKE_OPACITY_IMPL(Code)(Java Doc)
final protected static int INITIAL_TEXT_ANCHOR_IMPL(Code)(Java Doc)
final protected static int INITIAL_VISIBILITY_IMPL(Code)(Java Doc)
final protected static int JOIN_BEVEL_IMPL(Code)(Java Doc)
final protected static int JOIN_MITER_IMPL(Code)(Java Doc)
final protected static int JOIN_ROUND_IMPL(Code)(Java Doc)
final protected static int OPACITY_MASK(Code)(Java Doc)
final protected static int STROKE_LINE_CAP_MASK(Code)(Java Doc)
final protected static int STROKE_LINE_JOIN_MASK(Code)(Java Doc)
final protected static int STROKE_OPACITY_MASK(Code)(Java Doc)
final protected static int TEXT_ANCHOR_END_IMPL(Code)(Java Doc)
final protected static int TEXT_ANCHOR_MASK(Code)(Java Doc)
final protected static int TEXT_ANCHOR_MIDDLE_IMPL(Code)(Java Doc)
final protected static int TEXT_ANCHOR_START_IMPL(Code)(Java Doc)
final protected static int VISIBILITY_MASK(Code)(Java Doc)
protected RGB color(Code)(Java Doc)
protected PaintServer fill(Code)(Java Doc)
protected Transform inverseTxf(Code)(Java Doc)
protected int markers(Code)(Java Doc)
protected int pack(Code)(Java Doc)
protected int pack2(Code)(Java Doc)
protected PaintServer stroke(Code)(Java Doc)
protected float[] strokeDashArray(Code)(Java Doc)
protected float strokeDashOffset(Code)(Java Doc)
protected float strokeMiterLimit(Code)(Java Doc)
protected float strokeWidth(Code)(Java Doc)
protected Transform txf(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.CompositeGraphicsNode
void clearMarker(int marker)(Code)(Java Doc)
protected boolean contributeBBox()(Code)(Java Doc)
TraitAnim createTraitAnimImpl(String traitName)(Code)(Java Doc)
String fillRuleToStringTrait(int fillRule)(Code)(Java Doc)
public SVGRect getBBox()(Code)(Java Doc)
public RGB getColor()(Code)(Java Doc)
public boolean getDisplay()(Code)(Java Doc)
public PaintServer getFill()(Code)(Java Doc)
public float getFillOpacity()(Code)(Java Doc)
public int getFillRule()(Code)(Java Doc)
protected float getFloatPropertyState(int propertyIndex)(Code)(Java Doc)
float getFloatTraitImpl(String name) throws DOMException(Code)(Java Doc)
Transform getInverseTransformState()(Code)(Java Doc)
public float getOpacity()(Code)(Java Doc)
protected int getPackedPropertyState(int propertyIndex)(Code)(Java Doc)
protected Object getPropertyState(int propertyIndex)(Code)(Java Doc)
SVGRGBColor getRGBColorTraitImpl(String name) throws DOMException(Code)(Java Doc)
public SVGRect getScreenBBox()(Code)(Java Doc)
String getSpecifiedTraitImpl(String name) throws DOMException(Code)(Java Doc)
public PaintServer getStroke()(Code)(Java Doc)
public float[] getStrokeDashArray()(Code)(Java Doc)
public float getStrokeDashOffset()(Code)(Java Doc)
public int getStrokeLineCap()(Code)(Java Doc)
public int getStrokeLineJoin()(Code)(Java Doc)
public float getStrokeMiterLimit()(Code)(Java Doc)
public float getStrokeOpacity()(Code)(Java Doc)
public float getStrokeWidth()(Code)(Java Doc)
public String getTraitImpl(String name) throws DOMException(Code)(Java Doc)
public Transform getTransformState()(Code)(Java Doc)
public boolean getVisibility()(Code)(Java Doc)
public boolean isColorRelative(int propertyIndex)(Code)(Java Doc)
public boolean isColorRelativeProperty(int propertyIndex)(Code)(Java Doc)
protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc)
final public boolean isInherited(int propertyIndex)(Code)(Java Doc)
final boolean isMarkerSet(int marker)(Code)(Java Doc)
protected boolean isPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc)
protected boolean isPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc)
public void onPaintServerUpdate(String paintType, PaintServer paintServer)(Code)(Java Doc)
protected void propagateFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc)
protected void propagatePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc)
protected void propagatePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc)
protected void recomputeFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc)
void recomputeInheritedProperties()(Code)(Java Doc)
protected void recomputePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc)
protected void recomputePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc)
protected void recomputeTransformState(Transform parentTransform)(Code)(Java Doc)
public void setColor(RGB newColor)(Code)(Java Doc)
public void setColorRelative(int propertyIndex, boolean isColorRelative)(Code)(Java Doc)
protected void setColorRelativeQuiet(int propertyIndex, boolean isColorRelative)(Code)(Java Doc)
void setComputedColor(RGB newColor)(Code)(Java Doc)
void setComputedDisplay(boolean newDisplay)(Code)(Java Doc)
void setComputedFill(PaintServer newFill)(Code)(Java Doc)
void setComputedFillOpacity(float newFillOpacity)(Code)(Java Doc)
final void setComputedFillRule(int newFillRule)(Code)(Java Doc)
void setComputedOpacity(float newOpacity)(Code)(Java Doc)
void setComputedStroke(PaintServer newStroke)(Code)(Java Doc)
void setComputedStrokeDashArray(float[] newStrokeDashArray)(Code)(Java Doc)
void setComputedStrokeDashOffset(float newStrokeDashOffset)(Code)(Java Doc)
void setComputedStrokeLineCap(int newStrokeLineCap)(Code)(Java Doc)
void setComputedStrokeLineJoin(int newStrokeLineJoin)(Code)(Java Doc)
void setComputedStrokeMiterLimit(float newStrokeMiterLimit)(Code)(Java Doc)
void setComputedStrokeOpacity(float newStrokeOpacity)(Code)(Java Doc)
void setComputedStrokeWidth(float newStrokeWidth)(Code)(Java Doc)
void setComputedVisibility(boolean newVisibility)(Code)(Java Doc)
public void setDisplay(boolean newDisplay)(Code)(Java Doc)
public void setFill(PaintServer newFill)(Code)(Java Doc)
public void setFillOpacity(float newFillOpacity)(Code)(Java Doc)
public void setFillRule(int newFillRule)(Code)(Java Doc)
void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code)(Java Doc)
public void setFloatInherited(int propertyIndex, boolean inherit)(Code)(Java Doc)
protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc)
public void setFloatTraitImpl(String name, float value) throws DOMException(Code)(Java Doc)
public void setInherited(int propertyIndex, boolean inherit)(Code)(Java Doc)
protected void setInheritedQuiet(int propertyIndex, boolean inherit)(Code)(Java Doc)
void setMarker(int marker)(Code)(Java Doc)
public void setOpacity(float newOpacity)(Code)(Java Doc)
public void setPackedInherited(int propertyIndex, boolean inherit)(Code)(Java Doc)
protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc)
protected void setPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc)
void setRGBColorTraitImpl(String name, SVGRGBColor color) throws DOMException(Code)(Java Doc)
public void setStroke(PaintServer newStroke)(Code)(Java Doc)
public void setStrokeDashArray(float[] newStrokeDashArray)(Code)(Java Doc)
public void setStrokeDashOffset(float newStrokeDashOffset)(Code)(Java Doc)
public void setStrokeLineCap(int newStrokeLineCap)(Code)(Java Doc)
public void setStrokeLineJoin(int newStrokeLineJoin)(Code)(Java Doc)
public void setStrokeMiterLimit(float newStrokeMiterLimit)(Code)(Java Doc)
public void setStrokeOpacity(float newStrokeOpacity)(Code)(Java Doc)
public void setStrokeWidth(float newStrokeWidth)(Code)(Java Doc)
public void setTraitImpl(String name, String value) throws DOMException(Code)(Java Doc)
public void setVisibility(boolean newVisibility)(Code)(Java Doc)
String strokeLineCapToStringTrait(int strokeLineCap)(Code)(Java Doc)
String strokeLineJoinToStringTrait(int strokeLineJoin)(Code)(Java Doc)
boolean supportsTrait(String traitName)(Code)(Java Doc)
String toStringTrait(String name, float[][] value)(Code)(Java Doc)
public float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)
String validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)

Fields inherited from com.sun.perseus.model.ElementNode
final public static int CONDITIONAl_ATTRIBUTES_LENGTH(Code)(Java Doc)
final static String NULL_NS(Code)(Java Doc)
final public static int REQUIRED_EXTENSIONS_INDEX(Code)(Java Doc)
final public static int REQUIRED_FEATURES_INDEX(Code)(Java Doc)
final public static int SYSTEM_LANGUAGE_INDEX(Code)(Java Doc)
final static String TRAIT_TYPE_FLOAT(Code)(Java Doc)
final static String TRAIT_TYPE_STRING(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_MATRIX(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_PATH(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_RECT(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_RGB_COLOR(Code)(Java Doc)
final public static int XML_SPACE_DEFAULT(Code)(Java Doc)
final public static int XML_SPACE_INHERIT(Code)(Java Doc)
final public static int XML_SPACE_PRESERVE(Code)(Java Doc)
protected boolean buildingProxy(Code)(Java Doc)
protected String[][] conditionalAttributes(Code)(Java Doc)
protected ElementNodeProxy firstProxy(Code)(Java Doc)
protected String id(Code)(Java Doc)
protected ElementNodeProxy lastProxy(Code)(Java Doc)
protected boolean paintNeedsLoad(Code)(Java Doc)
protected Hashtable traitAnimsNS(Code)(Java Doc)
protected String uriBase(Code)(Java Doc)
protected int xmlSpace(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.ElementNode
public void add(ElementNode element)(Code)(Java Doc)
protected void addProxy(ElementNodeProxy proxy)(Code)(Java Doc)
protected static String alignToStringTrait(int align)(Code)(Java Doc)
protected DOMException animationError(String targetId, String traitNamespace, String traitName, String targetNamespace, String targetName, String animationId, String animationNamespace, String animationLocalName, String errorDescription)(Code)(Java Doc)
public void appendTextChild(String text)(Code)(Java Doc)
protected ElementNodeProxy buildExpandedProxy()(Code)(Java Doc)
ElementNodeProxy buildProxy()(Code)(Java Doc)
final void checkNCName(String name) throws DOMException(Code)(Java Doc)
protected void checkPositive(String name, float value)(Code)(Java Doc)
protected void checkWriteLoading(String name) throws DOMException(Code)(Java Doc)
final boolean conditionEquals(int index, String[] conditionValue)(Code)(Java Doc)
TraitAnim createTraitAnimImpl(String traitName)(Code)(Java Doc)
TraitAnim createTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc)
TraitAnim createTraitAnimNSImpl(String traitNamespace, String traitName)(Code)(Java Doc)
public static boolean equal(Object objA, Object objB)(Code)(Java Doc)
public static boolean equal(float[] faa, float[] fab)(Code)(Java Doc)
public static boolean equal(String[] saa, String[] sab)(Code)(Java Doc)
public static boolean equal(int[][] iaa, int[][] iab)(Code)(Java Doc)
public static boolean equal(float[][] faa, float[][] fab)(Code)(Java Doc)
protected String fontStylesToStringTrait(int styles)(Code)(Java Doc)
protected String fontWeightsToStringTrait(int weight)(Code)(Java Doc)
final public String getAttribute(String name) throws DOMException(Code)(Java Doc)
final public String getAttributeNS(String namespaceURI, String name) throws DOMException(Code)(Java Doc)
String[] getConditionalAttribute(int index)(Code)(Java Doc)
public String[][] getDefaultTraits()(Code)(Java Doc)
public ModelNode getFirstComputedExpandedChild()(Code)(Java Doc)
public Element getFirstElementChild()(Code)(Java Doc)
ModelNode getFirstExpandedChild()(Code)(Java Doc)
final public float getFloatTrait(String name) throws DOMException(Code)(Java Doc)
float getFloatTraitImpl(String name)(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public Element getLastElementChild()(Code)(Java Doc)
ModelNode getLastExpandedChild()(Code)(Java Doc)
final public SVGMatrix getMatrixTrait(String name) throws DOMException(Code)(Java Doc)
SVGMatrix getMatrixTraitImpl(String name) throws DOMException(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Element getNextElementSibling()(Code)(Java Doc)
public boolean getPaintNeedsLoad()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
final public SVGPath getPathTrait(String name) throws DOMException(Code)(Java Doc)
SVGPath getPathTraitImpl(String name) throws DOMException(Code)(Java Doc)
public Element getPreviousElementSibling()(Code)(Java Doc)
final public SVGRGBColor getRGBColorTrait(String name) throws DOMException(Code)(Java Doc)
SVGRGBColor getRGBColorTraitImpl(String name) throws DOMException(Code)(Java Doc)
final public SVGRect getRectTrait(String name) throws DOMException(Code)(Java Doc)
SVGRect getRectTraitImpl(String name) throws DOMException(Code)(Java Doc)
public String[] getRequiredExtensions()(Code)(Java Doc)
public String[] getRequiredFeatures()(Code)(Java Doc)
public String[] getRequiredTraits()(Code)(Java Doc)
public String[][] getRequiredTraitsNS()(Code)(Java Doc)
TraitAnim getSafeTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc)
String getSpecifiedTraitImpl(String traitName) throws DOMException(Code)(Java Doc)
String getSpecifiedTraitNSImpl(String traitNamespace, String traitName) throws DOMException(Code)(Java Doc)
public String[] getSystemLanguage()(Code)(Java Doc)
final public String getTrait(String traitName) throws DOMException(Code)(Java Doc)
public String[][] getTraitAliases()(Code)(Java Doc)
TraitAnim getTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc)
public String getTraitImpl(String name) throws DOMException(Code)(Java Doc)
final public String getTraitNS(String namespaceURI, String name) throws DOMException(Code)(Java Doc)
String getTraitNSImpl(String namespaceURI, String name)(Code)(Java Doc)
public String getURIBase()(Code)(Java Doc)
public int getXMLSpace()(Code)(Java Doc)
DOMException illegalTraitValue(String name, String value)(Code)(Java Doc)
protected DOMException illegalTraitValue(String name, String namespaceURI, String value)(Code)(Java Doc)
public static String intern(String str)(Code)(Java Doc)
protected void modifiedNode()(Code)(Java Doc)
protected void modifyingNode()(Code)(Java Doc)
abstract public ElementNode newInstance(DocumentNode doc)(Code)(Java Doc)
void nodeHookedInDocumentTree()(Code)(Java Doc)
DOMException notAnimatable(String traitNamespace, String traitName)(Code)(Java Doc)
final protected Time parseClockTrait(String traitName, String value) throws DOMException(Code)(Java Doc)
final protected RGB parseColorTrait(String traitName, String value) throws DOMException(Code)(Java Doc)
final public float[] parseFloatArrayTrait(String traitName, String value) throws DOMException(Code)(Java Doc)
final public float[] parseFloatArrayTrait(String traitName, String value, char sep) throws DOMException(Code)(Java Doc)
final protected float parseFloatTrait(String name, String value) throws DOMException(Code)(Java Doc)
public String[] parseFontFamilyTrait(String name, String value)(Code)(Java Doc)
final public int parseFontStylesTrait(String name, String value)(Code)(Java Doc)
final protected int parseFontWeightsTrait(String name, String value)(Code)(Java Doc)
final protected float parseLengthTrait(String name, String value, boolean isHorizontal) throws DOMException(Code)(Java Doc)
final protected Time parseMinMaxClock(String traitName, String value, boolean isMin) throws DOMException(Code)(Java Doc)
final protected PaintServer parsePaintTrait(String traitName, PaintTarget paintTarget, String value) throws DOMException(Code)(Java Doc)
final protected Path parsePathTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected Path parsePointsTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected float[] parsePositiveFloatArrayTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected float parsePositiveFloatTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected float parsePositiveLengthTrait(String name, String value, boolean isHorizontal) throws DOMException(Code)(Java Doc)
final protected String[] parseStringArrayTrait(String name, String value, String seperators) throws DOMException(Code)(Java Doc)
final protected Transform parseTransformTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected int[][] parseUnicodeRangeTrait(String name, String value) throws DOMException(Code)(Java Doc)
protected void preValidate()(Code)(Java Doc)
ModelNode proxyNodeHitAt(float[] pt, ElementNodeProxy proxy)(Code)(Java Doc)
protected DOMException readOnlyTraitError(String name)(Code)(Java Doc)
protected void recomputeProxyTransformState()(Code)(Java Doc)
void removeProxy(ElementNodeProxy proxy)(Code)(Java Doc)
final public void setAttribute(String name, String value) throws DOMException(Code)(Java Doc)
final public void setAttributeNS(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc)
void setConditionalAttribute(int index, String[] newValue)(Code)(Java Doc)
void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code)(Java Doc)
final public void setFloatTrait(String name, float value) throws DOMException(Code)(Java Doc)
void setFloatTraitImpl(String name, float value)(Code)(Java Doc)
public void setId(String newId)(Code)(Java Doc)
final public void setMatrixTrait(String name, SVGMatrix matrix) throws DOMException(Code)(Java Doc)
void setMatrixTraitImpl(String name, Transform matrix) throws DOMException(Code)(Java Doc)
final public void setPathTrait(String name, SVGPath path) throws DOMException(Code)(Java Doc)
void setPathTraitImpl(String name, SVGPath path) throws DOMException(Code)(Java Doc)
public void setPreferedPaintNeedsLoad(boolean paintNeedsLoad)(Code)(Java Doc)
final public void setRGBColorTrait(String name, SVGRGBColor color) throws DOMException(Code)(Java Doc)
void setRGBColorTraitImpl(String name, SVGRGBColor color) throws DOMException(Code)(Java Doc)
final public void setRectTrait(String name, SVGRect rect) throws DOMException(Code)(Java Doc)
public void setRectTraitImpl(String name, SVGRect rect) throws DOMException(Code)(Java Doc)
public void setRequiredExtensions(String[] newRequiredExtensions)(Code)(Java Doc)
public void setRequiredFeatures(String[] newRequiredFeatures)(Code)(Java Doc)
public void setSystemLanguage(String[] newSystemLanguage)(Code)(Java Doc)
final public void setTrait(String name, String value) throws DOMException(Code)(Java Doc)
public void setTraitImpl(String name, String value) throws DOMException(Code)(Java Doc)
final public void setTraitNS(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc)
public void setTraitNSImpl(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc)
public void setURIBase(String newUriBase)(Code)(Java Doc)
public void setXMLSpace(int newXmlSpace)(Code)(Java Doc)
boolean supportsTrait(String traitName)(Code)(Java Doc)
boolean supportsTraitNS(String namespaceURI, String traitName)(Code)(Java Doc)
float[][] toAnimatedFloatArray(float v)(Code)(Java Doc)
float[][] toAnimatedFloatArray(float[] a)(Code)(Java Doc)
float[][] toAnimatedFloatArray(Path path)(Code)(Java Doc)
protected RGB toRGB(String name, float[][] v) throws DOMException(Code)(Java Doc)
protected String toRGBString(String name, float[][] v) throws DOMException(Code)(Java Doc)
protected SVGMatrix toSVGMatrixTrait(Transform transform)(Code)(Java Doc)
protected SVGRGBColor toSVGRGBColor(String traitName, PaintServer paint)(Code)(Java Doc)
protected SVGRect toSVGRect(float[][] viewBox)(Code)(Java Doc)
String toString(PaintServer paintServer)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
String toStringTrait(String traitName, float[][] value)(Code)(Java Doc)
protected String toStringTrait(String[] array)(Code)(Java Doc)
protected String toStringTrait(String[] array, String sep)(Code)(Java Doc)
protected String toStringTrait(float[] array)(Code)(Java Doc)
protected String toStringTrait(float[] array, char sep)(Code)(Java Doc)
protected String toStringTrait(float[][] array)(Code)(Java Doc)
protected static String toStringTrait(Transform transform)(Code)(Java Doc)
protected String toStringTraitQuote(String[] array)(Code)(Java Doc)
float[] toTraitFloatArray(float[][] value)(Code)(Java Doc)
protected float[][] toViewBox(String name, String value) throws DOMException(Code)(Java Doc)
protected void unhookChildrenQuiet()(Code)(Java Doc)
protected void unhookExpandedQuiet()(Code)(Java Doc)
protected String unicodeRangeToStringTrait(int[][] u)(Code)(Java Doc)
protected DOMException unsupportedTrait(String name)(Code)(Java Doc)
protected DOMException unsupportedTraitNS(String name, String namespaceURI)(Code)(Java Doc)
protected DOMException unsupportedTraitType(String name, String type)(Code)(Java Doc)
protected DOMException unsupportedTraitTypeNS(String name, String namespaceURI, String type)(Code)(Java Doc)
float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)
String validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)

Fields inherited from com.sun.perseus.model.CompositeNode
protected ElementNode firstChild(Code)(Java Doc)
protected ElementNode lastChild(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.CompositeNode
public void add(ElementNode element)(Code)(Java Doc)
public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc)
protected void clearLayouts()(Code)(Java Doc)
public ModelNode getFirstChildNode()(Code)(Java Doc)
public ModelNode getLastChildNode()(Code)(Java Doc)
abstract public String getLocalName()(Code)(Java Doc)
abstract public String getNamespaceURI()(Code)(Java Doc)
abstract public Node getParentNode()(Code)(Java Doc)
public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
protected boolean isAllowedChild(ElementNode node)(Code)(Java Doc)
final boolean isAncestor(ElementNode node)(Code)(Java Doc)
final boolean isChild(Node node)(Code)(Java Doc)
protected static boolean isIdBranch(ElementNode node)(Code)(Java Doc)
protected boolean isRemoveChildSupported()(Code)(Java Doc)
void nodeHookedInDocumentTree()(Code)(Java Doc)
void nodeUnhookedFromDocumentTree()(Code)(Java Doc)
final void onHookedInDocumentTree()(Code)(Java Doc)
final void onUnhookedFromDocumentTree()(Code)(Java Doc)
public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
protected void unhookChildrenQuiet()(Code)(Java Doc)

Fields inherited from com.sun.perseus.model.ModelNode
final public static int CAN_RENDER_CONDITIONS_MET_BITS(Code)(Java Doc)
final public static int CAN_RENDER_CONDITIONS_MET_MASK(Code)(Java Doc)
final public static int CAN_RENDER_DISPLAY_BIT(Code)(Java Doc)
final public static int CAN_RENDER_DISPLAY_MASK(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_PATH_BIT(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_PATH_MASK(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_VIEWBOX_BIT(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_VIEWBOX_MASK(Code)(Java Doc)
final public static int CAN_RENDER_IN_DOCUMENT_TREE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_IN_DOCUMENT_TREE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_NON_INVERTIBLE_TXF_BIT(Code)(Java Doc)
final public static int CAN_RENDER_NON_INVERTIBLE_TXF_MASK(Code)(Java Doc)
final public static int CAN_RENDER_PARENT_STATE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_PARENT_STATE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_PROXY_BITS_MASK(Code)(Java Doc)
final public static int CAN_RENDER_RENDERABLE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_RENDERABLE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_EXTENSIONS_BIT(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_EXTENSIONS_MASK(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_FEATURES_BIT(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_FEATURES_MASK(Code)(Java Doc)
final public static int CAN_RENDER_SYSTEM_LANGUAGE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_SYSTEM_LANGUAGE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_FONT_SIZE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_FONT_SIZE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_HEIGHT_BIT(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_HEIGHT_MASK(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_WIDTH_BIT(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_WIDTH_MASK(Code)(Java Doc)
final protected Transform IDENTITY(Code)(Java Doc)
protected int canRenderState(Code)(Java Doc)
protected boolean loaded(Code)(Java Doc)
protected ModelNode nextSibling(Code)(Java Doc)
protected DocumentNode ownerDocument(Code)(Java Doc)
protected ModelNode parent(Code)(Java Doc)
protected ModelNode prevSibling(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.ModelNode
Box addBBox(Box bbox, Transform t)(Code)(Java Doc)
static Box addBBox(Box bbox, float x, float y, float width, float height)(Code)(Java Doc)
public void addEventListener(String type, EventListener listener, boolean useCapture) throws DOMException(Code)(Java Doc)
Box addNodeBBox(Box bbox, Transform t)(Code)(Java Doc)
static Box addShapeBBox(Box bbox, Path path, Transform t)(Code)(Java Doc)
static Box addTransformedBBox(Box bbox, float x, float y, float width, float height, Transform m)(Code)(Java Doc)
protected Transform appendTransform(Transform tx, Transform workTx)(Code)(Java Doc)
protected void clearLastRenderedTile()(Code)(Java Doc)
abstract protected void clearLayouts()(Code)(Java Doc)
void clearLayouts(ModelNode node)(Code)(Java Doc)
final void computeCanRenderDisplayBit(boolean display)(Code)(Java Doc)
final void computeCanRenderEmptyPathBit(Path path)(Code)(Java Doc)
final void computeCanRenderEmptyViewBoxBit(float[][] viewBox)(Code)(Java Doc)
final void computeCanRenderFontSizeBit(float fontSize)(Code)(Java Doc)
final void computeCanRenderHeightBit(float height)(Code)(Java Doc)
final void computeCanRenderRequiredExtensionsBit(String[] requiredExtensions)(Code)(Java Doc)
final void computeCanRenderRequiredFeaturesBit(String[] requiredFeatures)(Code)(Java Doc)
final void computeCanRenderSystemLanguageBit(String[] systemLanguage)(Code)(Java Doc)
final void computeCanRenderTransformBit(Transform transform)(Code)(Java Doc)
final void computeCanRenderWidthBit(float width)(Code)(Java Doc)
protected void computeRenderingTile(Tile tile)(Code)(Java Doc)
protected boolean contributeBBox()(Code)(Java Doc)
public void dispatchEvent(ModelEvent evt)(Code)(Java Doc)
abstract public ModelNode getFirstChildNode()(Code)(Java Doc)
abstract ModelNode getFirstComputedExpandedChild()(Code)(Java Doc)
abstract ModelNode getFirstExpandedChild()(Code)(Java Doc)
protected float getFloatPropertyState(int propertyIndex)(Code)(Java Doc)
final protected float getInheritedFloatPropertyState(int propertyIndex)(Code)(Java Doc)
final protected int getInheritedPackedPropertyState(int propertyIndex)(Code)(Java Doc)
final protected Object getInheritedPropertyState(int propertyIndex)(Code)(Java Doc)
Transform getInverseTransformState()(Code)(Java Doc)
abstract public ModelNode getLastChildNode()(Code)(Java Doc)
abstract ModelNode getLastExpandedChild()(Code)(Java Doc)
protected Tile getLastRenderedTile()(Code)(Java Doc)
public ModelNode getNextSiblingNode()(Code)(Java Doc)
public DocumentNode getOwnerDocument()(Code)(Java Doc)
protected int getPackedPropertyState(int propertyIndex)(Code)(Java Doc)
boolean getPaintNeedsLoad()(Code)(Java Doc)
public ModelNode getParent()(Code)(Java Doc)
public ModelNode getPreviousSiblingNode()(Code)(Java Doc)
protected Object getPropertyState(int propertyIndex)(Code)(Java Doc)
protected Tile getRenderingTile()(Code)(Java Doc)
public SVGMatrix getScreenCTM()(Code)(Java Doc)
public Transform getTransformState()(Code)(Java Doc)
protected String getURIBase()(Code)(Java Doc)
protected UpdateListener getUpdateListener()(Code)(Java Doc)
public boolean hasDescendants()(Code)(Java Doc)
protected boolean hasNodeRendering()(Code)(Java Doc)
boolean inDocumentTree()(Code)(Java Doc)
protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc)
protected boolean isInDocumentTree()(Code)(Java Doc)
final public boolean isLoaded()(Code)(Java Doc)
protected boolean isPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc)
protected boolean isPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc)
protected void modifiedNode()(Code)(Java Doc)
protected void modifyingNode()(Code)(Java Doc)
protected void modifyingNodeRendering()(Code)(Java Doc)
public ModelNode nodeHitAt(float[] pt)(Code)(Java Doc)
final protected ModelNode nodeHitAt(ModelNode node, float[] pt)(Code)(Java Doc)
protected static void nodeInserted(ModelNode node)(Code)(Java Doc)
protected void nodeRendered()(Code)(Java Doc)
void onHookedInDocumentTree()(Code)(Java Doc)
void onUnhookedFromDocumentTree()(Code)(Java Doc)
static void paint(ModelNode node, RenderGraphics rg)(Code)(Java Doc)
public void paint(RenderGraphics rg)(Code)(Java Doc)
protected void propagateCanRenderState(int oldCanRenderState, int newCanRenderState)(Code)(Java Doc)
protected void propagateFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc)
protected void propagatePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc)
protected void propagatePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc)
protected void recomputeFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc)
void recomputeInheritedProperties()(Code)(Java Doc)
protected void recomputePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc)
protected void recomputePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc)
protected void recomputeTransformState()(Code)(Java Doc)
protected void recomputeTransformState(Transform parentTransform)(Code)(Java Doc)
void recomputeTransformState(Transform parentTransform, ModelNode node)(Code)(Java Doc)
final protected Transform recycleTransform(Transform tx, Transform workTx)(Code)(Java Doc)
public void removeEventListener(String type, EventListener listener, boolean useCapture) throws DOMException(Code)(Java Doc)
protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc)
public void setLoaded(boolean isLoaded)(Code)(Java Doc)
protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc)
protected void setParent(ModelNode newParent)(Code)(Java Doc)
protected void setParentQuiet(ModelNode newParent)(Code)(Java Doc)
protected void setPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc)
abstract protected void unhookChildrenQuiet()(Code)(Java Doc)
abstract protected void unhookExpandedQuiet()(Code)(Java Doc)
final protected void unhookQuiet(ModelNode node)(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.